/**
 * OrdersStores.java
 * Copyright(C) 1949++ 中华人民共和国
 * 深圳市盛开互联网金融顾问有限公司.
 * All rights reserved.
 * E-mail:server@skjr.net
 * SKDate:2017-11-16 17:16:52
 */
package com.huamao.zh.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class OrdersStores implements Serializable {

	/**
	 * 自增ID
	 */
	private Integer orderId;

	/**
	 * 订单号
	 */
	private String orderNo;

	/**
	 * 门店ID
	 */
	private Integer shopId;

	/**
	 * 用户Id
	 */
	private Integer userId;

	/**
	 * 订单状态 1:用户下单 2商家取消 3已完成
	 */
	private Integer orderStatus;

	/**
	 * 订单来源 1商家补单 2消费者主动下单 3面对面付
	 */
	private Integer orderType;

	/**
	 * 支付方式 1:线下现金支付 2 现金账户支付 3华宝支付 4第三方支付 5混合支付
	 */
	private Integer payType;

	/**
	 * 订单总金额 (realMoney+cash+kaiyuan)
	 */
	private BigDecimal totalMoney;

	/**
	 * 第三方支付的金额
	 */
	private BigDecimal realMoney;

	/**
	 * 平台现金账户金额
	 */
	private BigDecimal cash;

	/**
	 * 华宝金额 1个华宝=1分钱
	 */
	private BigDecimal kaiyuan;

	/**
	 * 使用华宝支付的手续费和税率
	 */
	private BigDecimal kaiyuanFee;

	/**
	 * 积分赠送比例
	 */
	private Integer scoreRatio;

	/**
	 * 赠送的积分数量
	 */
	private BigDecimal score;

	/**
	 * 订单备注
	 */
	private String orderRemarks;

	/**
	 * 下单时间
	 */
	private Date createTime;

	/**
	 * 商家处理时间
	 */
	private Date checkTime;

	/**
	 * 有效标志 1有效 0删除
	 */
	private Integer dataFlag;

	private static final long serialVersionUID = -1L;

	public Integer getOrderId() {
		return orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public Integer getShopId() {
		return shopId;
	}

	public void setShopId(Integer shopId) {
		this.shopId = shopId;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getOrderStatus() {
		return orderStatus;
	}

	public void setOrderStatus(Integer orderStatus) {
		this.orderStatus = orderStatus;
	}

	public Integer getOrderType() {
		return orderType;
	}

	public void setOrderType(Integer orderType) {
		this.orderType = orderType;
	}

	public Integer getPayType() {
		return payType;
	}

	public void setPayType(Integer payType) {
		this.payType = payType;
	}

	public BigDecimal getTotalMoney() {
		return totalMoney;
	}

	public void setTotalMoney(BigDecimal totalMoney) {
		this.totalMoney = totalMoney;
	}

	public BigDecimal getRealMoney() {
		return realMoney;
	}

	public void setRealMoney(BigDecimal realMoney) {
		this.realMoney = realMoney;
	}

	public BigDecimal getCash() {
		return cash;
	}

	public void setCash(BigDecimal cash) {
		this.cash = cash;
	}

	public BigDecimal getKaiyuan() {
		return kaiyuan;
	}

	public void setKaiyuan(BigDecimal kaiyuan) {
		this.kaiyuan = kaiyuan;
	}

	public BigDecimal getKaiyuanFee() {
		return kaiyuanFee;
	}

	public void setKaiyuanFee(BigDecimal kaiyuanFee) {
		this.kaiyuanFee = kaiyuanFee;
	}

	public Integer getScoreRatio() {
		return scoreRatio;
	}

	public void setScoreRatio(Integer scoreRatio) {
		this.scoreRatio = scoreRatio;
	}

	public BigDecimal getScore() {
		return score;
	}

	public void setScore(BigDecimal score) {
		this.score = score;
	}

	public String getOrderRemarks() {
		return orderRemarks;
	}

	public void setOrderRemarks(String orderRemarks) {
		this.orderRemarks = orderRemarks;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getCheckTime() {
		return checkTime;
	}

	public void setCheckTime(Date checkTime) {
		this.checkTime = checkTime;
	}

	public Integer getDataFlag() {
		return dataFlag;
	}

	public void setDataFlag(Integer dataFlag) {
		this.dataFlag = dataFlag;
	}
}